<?php
$action	= isset($_REQUEST["act"]) ? $_REQUEST['act'] : "";
$userid = isset($_REQUEST["userid"]) ? $_REQUEST['userid'] : "0";
global $page_title;
$page_title = "User infomations";
include( "CUserinfo.php" );
    switch($action){
        case "edit":
            CUser_info::edit($userid);
            break;
        case "show": default:
            CUser_info::show($userid);
            break;
        }
?>